<script type="text/javascript" src="{$base_dir}js/AJAX_InPatientEctomy.js"></script>
<fieldset><legend>{translate}Input service{/translate}</legend>
<table width="100%" class="grid inline">
    <tr>
        <td class="label" width="20%">{translate}Doctor{/translate}:</td>
        <td colspan="5"><select style="width: 160px;" id="inputEctomyDoctor">
            <option id="empty" value="0">--{translate}Doctor{/translate}--</option>
            {html_options options=$doctorList}
        </select></td>
    </tr>
    <tr>
        <td>
        <div id="reloadInputEctomy" >
                      <input id="inputEctomyAdd" type="button" value="{translate}Add{/translate}" onclick="javascript:addEctomyService('{$ticketId}')">                      
        </div>
        <div id="innerLoadingInputEctomy" style="display:none; width: 100px;" align="left">
                        <img src="{$base_uri}/images/ajax-loader.gif"></div>
        </td>
    </tr>
</table>
<br>

<table cellspacing="0" cellpadding="0" id="ectomyDetail" class="grid" width="100%">
    <tr>
        <th>{translate}Surgery date{/translate}</th>
        <th>{translate}Surgery{/translate}</th>
        <th>{translate}Price{/translate}</th>
        <th>{translate}Ins.Payment{/translate}</th>
        <th>{translate}P.Payment{/translate}</th>
        <th>{translate}Doctor{/translate}</th>
        <th></th>
    </tr>
    <tbody>{$tbody}</tbody>
    
</table>
</fieldset>
